#! /bin/bash
nohup pkill -f nginx -9 &
sleep 5
nohup /usr/local/nginx/sbin/nginx &


nohup pkill -f uwsgi -9 &
sleep 5
nohup uwsgi --ini /var/www/django/uwsgi.ini &

sleep 5
cd /var/www/django
nohup /usr/local/python3/bin/daphne MsWeb.asgi:application -b 0.0.0.0 -p 8003 &


/bin/bash
